home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / cislib_a / cioequ.pas < prev    next >
Pascal/Delphi Source File  |  1995-04-22  |  1KB  |  62 lines

  1. #A
  2. ;_________CIO equates file__________
  3. ;
  4. ;-->cio labels:
  5. ICCMD EQU $0342 ;command byte
  6. ICCOM EQU $0342 ;cover both bases
  7. ICSTA EQU $0343 ;status
  8. ICBAL EQU $0344 ;LSB for buffer
  9. ICBAH EQU $0345 ;MSB  "    "
  10. ICBLL EQU $0348 ;buffer length LSB
  11. ICBLH EQU $0349 ;  "      "    MSB
  12. ICAX1 EQU $034A ;auxillary byte one
  13. ICAX2 EQU $034B ;    "      "   two
  14. CIOV  EQU $E456 ;The big vector!
  15. ;
  16. ;-->iocb numbers: 
  17. iocb0 EQU $00
  18. iocb1 EQU $10
  19. iocb2 EQU $20
  20. iocb3 EQU $30
  21. iocb4 EQU $40
  22. iocb5 EQU $50
  23. iocb6 EQU $60
  24. iocb7 EQU $70
  25. ;
  26. ;-->cio commands:
  27. open EQU $03
  28. getrec EQU $05
  29. getch EQU $07
  30. putrec EQU $09
  31. putch EQU $0B
  32. close EQU $0C
  33. status EQU $0
  34. ;
  35. ;-->fms commands
  36. rename EQU $20
  37. delete EQU $21
  38. protect EQU $23
  39. unprotect EQU $24
  40. point EQU $25
  41. note EQU $26
  42. format EQU $FE
  43. ;
  44. ;-->S: display commands
  45. draw EQU $11
  46. fill EQU $12
  47. ;
  48. ;-->aux commands
  49. read EQU 4
  50. conread EQU 5
  51. readdir EQU 6
  52. write EQU 8
  53. append EQU 9
  54. update EQU 12
  55. conrw EQU 13
  56. ;
  57. ;This is not an 'Omni-File'...Only the
  58. ;more commonly used CIO things are
  59. ;included.  You may add to it without
  60. ;any problems.
  61. #
  62.